home *** CD-ROM | disk | FTP | other *** search
- // -----
- // vdl157.txt
- // Copyright 1996 Claris
- // -----
-
-
- //Document Statistics
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- #define kLit1 "Document"
- #define kLit2 "Character Count: "
- #define kLit3 "Word Count: "
- #define kLit4 "Total Image Size: "
- #define kLit5 "Minimum Download Time at 14400: "
- #define kLit6 " Seconds"
- #define kLit7 "Minimum Download Time at 28800: "
- #define kLit8 "&OK"
- #define kLit9 "Selection"
- #define kLit10 "Byte Count: "
-
- //Localized Fonts
- #if Platform_Mac
- #define DisplayFont { Geneva, 10, {Plain} }
- #else
- #define DisplayFont SystemFont
- #endif
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
- #if Platform_Mac
- //Width of the labels
- #define kLabelWidth 180
-
- //Width of the displayed values
- #define kValueWidth 88
-
- //Width of the OK Button
- #define kOKButtonWidth 70
- #else
-
- //Width of the labels
- #define kLabelWidth 240
-
- //Width of the displayed values
- #define kValueWidth 100
-
- //Width of the OK Button
- #define kOKButtonWidth 100
-
- #endif
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
-
- #if Platform_Mac
- #define dlogBack BackColor = {65535, 65535, 65535}
- #else
- #define dlogBack BackColor = Dialog
- #endif
-
- #define EH EnabledHelpString =
-
-
- Margin(10, 10, 10, 10, dlogBack)
- VList()
- {
- Label(kLit1, Single)
- Margin(5,5,5,5)
- VList()
- {
- Switch (docEncoding)
- {
- case 0:
- VList()
- {
- HList()
- {
- StaticText( kLit2, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(docChars, Font = DisplayFont, Width = kValueWidth );
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit3, Width = kLabelWidth, Font = DisplayFont , Alignment = Right);
- StaticText(docWords, Font = DisplayFont , Width = kValueWidth);
- }
- }
-
- default:
- HList()
- {
- StaticText(kLit10, Width = kLabelWidth, Font = DisplayFont, Alignment = Right);
- StaticText(docChars, Font = DisplayFont, Width = kValueWidth );
- }
-
- } // Switch (docEncoding)
-
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit4, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(docImageSize, Font = DisplayFont, Width = kValueWidth );
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit5, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(docSlowDownload, Font = DisplayFont);
- // StaticText( kLit6, Font = DisplayFont);
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit7, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(docFastDownload, Font = DisplayFont);
- // StaticText( kLit6, Font = DisplayFont);
- }
- }
-
- Spacer(Height = 10, Width = 0);
-
- Label(kLit9, Single)
- Margin(5,5,5,5)
- VList()
- {
- Switch (docEncoding)
- {
- case 0:
- VList()
- {
- HList()
- {
- StaticText( kLit2, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(selChars, Font = DisplayFont, Width = kValueWidth );
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit3, Width = kLabelWidth, Font = DisplayFont , Alignment = Right);
- StaticText(selWords, Font = DisplayFont , Width = kValueWidth);
- }
- }
-
- default:
- HList()
- {
- StaticText(kLit10, Width = kLabelWidth, Font = DisplayFont, Alignment = Right);
- StaticText(selChars, Font = DisplayFont, Width = kValueWidth);
- }
-
- } // Switch (docEncoding)
-
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit4, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(selImageSize, Font = DisplayFont, Width = kValueWidth );
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit5, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(selSlowDownload, Font = DisplayFont);
- // StaticText( kLit6, Font = DisplayFont);
- }
- Spacer(Height = 5, Width = 0);
- HList()
- {
- StaticText( kLit7, Width = kLabelWidth, Font = DisplayFont, Alignment = Right );
- StaticText(selFastDownload, Font = DisplayFont);
- // StaticText( kLit6, Font = DisplayFont);
- }
- }
-
- Spacer(Height = 16, Width = 0);
-
- HList(Width = UseParent)
- {
- Spacer(Width = UseParent, Height = 0);
- DefaultButton(kLit8, 1071, "None", Width = kOKButtonWidth);
- }
- }
-
-